package com.business.dao;

import com.business.domain.LoanInterest;
import com.business.domain.LoanInterestExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository("loanInterestMapper")
public interface LoanInterestMapper {
    int countByExample(LoanInterestExample example);

    int deleteByExample(LoanInterestExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(LoanInterest record);

    int insertSelective(LoanInterest record);

    List<LoanInterest> selectByExample(LoanInterestExample example);

    LoanInterest selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") LoanInterest record, @Param("example") LoanInterestExample example);

    int updateByExample(@Param("record") LoanInterest record, @Param("example") LoanInterestExample example);

    int updateByPrimaryKeySelective(LoanInterest record);

    int updateByPrimaryKey(LoanInterest record);
}